Add "trivial-httpd" builtin, use it in tests
authorColin Walters <walters@verbum.org>
Fri, 5 Jul 2013 20:12:10 +0000 (16:12 -0400)
committerColin Walters <walters@verbum.org>
Fri, 5 Jul 2013 20:28:40 +0000 (16:28 -0400)
commitec21dc42424903f9846a3718fc9911ad8c70fc8c
treed44729336b79e3bef02a3b18692ccd324ee24e27
parent2ed49a3749774ceae38a44fe696183a0a77d7ec8
Add "trivial-httpd" builtin, use it in tests

A simple HTTP server implementation is so few lines of code when one
is linking to libsoup anyways, so let's just have one here in ostree
that will be used for the test suite.

This allows us to run the archive tests that previously required
apache even in gnome-ostree.
Makefile-ostree.am
src/ostree/main.c
src/ostree/ot-builtin-trivial-httpd.c [new file with mode: 0644]
src/ostree/ot-builtins.h
tests/Makefile [deleted file]
tests/libtest.sh
tests/run-apache.c [deleted file]
tests/tmpdir-lifecycle.c [deleted file]